<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class MyTeacher extends Model
{
    protected $table = 'xyj_my_teachers';
    
    public function teacherInfo(){
        return $this->hasOne('App\Models\Teacher' , 'user_id', 'my_teacher_id')->withTrashed();
    }
}
